<?php
 
   /******************************************************************
    * File    : Item.php
    * Version : $Id: Item.php,v 1.4 2007/06/05 07:33:51 thomas Exp $
    * Author  : wolfgang.schaefer@mPAY24.com
    ******************************************************************/

   class Item {
      // set-methods
      function setNumber($num) {
         if(is_numeric($num)) {
            $this->number = $num;
         }
      }

      function setProductNr($num) {
         $this->productnr = $num;
      }

      function setDescription($desc) {
         $this->description = $desc;
      }

      function setPackage($pkg) {
         $this->package = $pkg;
      }

      function setQuantity($quantity) {
         if(is_numeric($quantity)) {
            $this->quantity = $quantity;
         }
      }

      function setItemPrice($price) {
         $this->itemprice = $price;
      }

      function setPrice($price) {
         $this->price = $price;
      }

      // get-methods
      function getNumber() {
         return $this->number;
      }

      function getProductNr() {
         return $this->productnr;
      }

      function getDescription() {
         return $this->description;
      }

      function getPackage() {
         return $this->package;
      }
 
      function getQuantity() {
         return $this->quantity;
      }

      function getItemPrice() {
         return $this->itemprice;
      }

      function getPrice() {
         return $this->price;
      }

      // member-variables
      var $number;
      var $productnr;
      var $description;
      var $package;
      var $quantity;
      var $itemprice;
      var $price;
   }

?>
